﻿<%@ Page Language="C#" MasterPageFile="~/Custom/CustomPage.Master" AutoEventWireup="true" CodeBehind="Cargo_Modify.aspx.cs" Inherits="WebUI.Custom.Cargo_Modify" %>

<asp:Content ID ="Content1" ContentPlaceHolderID ="ContentPlaceHolder1" runat="server">

<div id="gaa">
<table width="98%" height="289" border="1"  style=" text-align:center">
  <tr>
    <td width="3%" rowspan="5">寄件人</td>
    <td width="7%" height="25">姓名：</td>
    <td width="39%" colspan="2" style="text-align:left;"><asp:TextBox ID="txtSenderName" runat="server" ForeColor="#404040" Width="110px" ></asp:TextBox><asp:RequiredFieldValidator ID="RFValidatorSenderName" runat="server" ControlToValidate="txtSenderName" ErrorMessage="*" Width="68px">请输入姓名</asp:RequiredFieldValidator></td>
    <td width="3%" rowspan="5">收件人</td>
    <td width="7%">姓名：</td>
    <td width="39%" style="text-align:left;"> <asp:TextBox ID="txtRecipientName" runat="server" ForeColor="#404040" Width="110px"></asp:TextBox>
	<asp:RequiredFieldValidator ID= "RFValidatorRecipientName" runat="server" ControlToValidate="txtRecipientName" ErrorMessage="*">请输入姓名	</asp:RequiredFieldValidator></td>
  </tr>
  <tr>
    <td height="25">电话：</td>
    <td colspan="2" style="text-align:left;"><asp:TextBox ID="txtSenderTel" runat="server" ForeColor="#404040" Width="110px"></asp:TextBox><asp:RequiredFieldValidator ID="RFValidatorSenderTel" runat="server" ControlToValidate="txtSenderTel"
                    ErrorMessage="*" Width="70px">请输入电话</asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="REValidatorSenderTel" runat="server" ControlToValidate="txtSenderTel"
                    ErrorMessage="*" ValidationExpression="^(0[0-9]{2,3}\-)?([2-9][0-9]{6,7})+(\-[0-9]{1,4})?$">区号-号码</asp:RegularExpressionValidator></td>
    <td>电话：</td>
    <td style="text-align:left;"><asp:TextBox ID="txtRecipientTel" runat="server" ForeColor="#404040" Width="110px"></asp:TextBox>
	<asp:RequiredFieldValidator ID="RFValidatorRecipientTel" runat="server" ControlToValidate="txtRecipientTel" ErrorMessage="*">请输入电话	</asp:RequiredFieldValidator>
    <asp:RegularExpressionValidator ID="REValidatorRecipientTel" runat="server" ControlToValidate="txtRecipientTel" ErrorMessage="*" ValidationExpression="^(0[0-9]{2,3}\-)?([2-9][0-9]{6,7})+(\-[0-9]{1,4})?$">区号-号码</asp:RegularExpressionValidator></td>
  </tr>
  <tr>
    <td height="25"> 手机：</td>
    <td colspan="2" style="text-align:left;"><asp:TextBox ID="txtSenderMobile" runat="server" ForeColor="#404040" Width="110px"></asp:TextBox>
	    <asp:RequiredFieldValidator ID="RFValidatorSenderMobile" runat="server" ControlToValidate="txtSenderMobile" ErrorMessage="*" Width="70px">请输入手机		</asp:RequiredFieldValidator>
        <asp:RegularExpressionValidator ID="REValidatorSenderMobile" runat="server" ControlToValidate="txtSenderMobile" ErrorMessage="*" ValidationExpression="^((\(\d{3}\))|(\d{3}\-))?13[0-9]\d{8}|15[89]\d{8}">请输入手机号码		</asp:RegularExpressionValidator></td>
    <td>手机：</td>
    <td style="text-align:left;"><asp:TextBox ID="txtRecipientMoblie" runat="server" ForeColor="#404040" Width="110px"></asp:TextBox>
	    <asp:RequiredFieldValidator ID="RFValidatorRecipientMoblie" runat="server" ControlToValidate="txtRecipientMoblie" ErrorMessage="*">请输入手机		</asp:RequiredFieldValidator>
        <asp:RegularExpressionValidator ID="REValidatorRecipientMoblie" runat="server" ControlToValidate="txtRecipientMoblie" ErrorMessage="*" ValidationExpression="^((\(\d{3}\))|(\d{3}\-))?13[0-9]\d{8}|15[89]\d{8}">请输入手机号码</asp:RegularExpressionValidator></td>
  </tr>
  <tr>
    <td height="25">地址：</td>
    <td colspan="2" style="text-align:left;"> <asp:TextBox ID="txtSenderAddress" runat="server" TextMode="MultiLine" ForeColor="#404040"></asp:TextBox>
	     <asp:RequiredFieldValidator ID="RFValidatorSenderAddress" runat="server" ControlToValidate="txtSenderAddress"
                    ErrorMessage="*">请输入地址</asp:RequiredFieldValidator></td>
    <td>地址：</td>
    <td style="text-align:left;"><asp:TextBox ID="txtRecipientAddress" runat="server" TextMode="MultiLine" ForeColor="#404040"></asp:TextBox>
	    <asp:RequiredFieldValidator ID="RFValidatorRecipientAddress" runat="server" ControlToValidate="txtRecipientAddress" ErrorMessage="*">请输入地址		</asp:RequiredFieldValidator></td>
  </tr>
  <tr>
    <td height="25">邮编：</td>
    <td colspan="2" style="text-align:left;"><asp:TextBox ID="txtSenderPostalCode" runat="server" ForeColor="#404040"></asp:TextBox><asp:RequiredFieldValidator ID="RFValidatorSenderPostalCode" runat="server" ControlToValidate="txtSenderPostalCode"
                    ErrorMessage="*">请输入邮编</asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="REValidatorSenderPostalCode" runat="server" ControlToValidate="txtSenderPostalCode"
                    ErrorMessage="*" ValidationExpression="[1-9]\d{5}">请输入邮编</asp:RegularExpressionValidator></td>
    <td>邮编：</td>
    <td style="text-align:left;"><asp:TextBox ID="txtRecipientPostalCode" runat="server" ForeColor="#404040"></asp:TextBox> 
	   <asp:RequiredFieldValidator ID="RFValidatorRecipientPostalCode" runat="server" ControlToValidate="txtRecipientPostalCode" ErrorMessage="*">请输入邮编	   </asp:RequiredFieldValidator>
       <asp:RegularExpressionValidator ID="REValidatorRecipientPostalCode" runat="server" ControlToValidate="txtRecipientPostalCode"  ErrorMessage="*" ValidationExpression="[1-9]\d{5}">请输入邮编</asp:RegularExpressionValidator></td>
  </tr>
  <tr>
    <td height="25" colspan="2">名称：</td>
    <td colspan="2"style="text-align:left;" ><asp:TextBox ID="txtCargoName" runat="server" ForeColor="#404040"></asp:TextBox>
	    <asp:RequiredFieldValidator ID="RFValidatorCargoName" runat="server" ControlToValidate="txtCargoName" ErrorMessage="*">请输入名称		</asp:RequiredFieldValidator></td>
    <td colspan="2">是否加急：</td>
    <td style="text-align:left;"> <asp:DropDownList ID="ddrUrgent" runat="server" ForeColor="#404040">
                    <asp:ListItem>不加急</asp:ListItem>
                    <asp:ListItem>次日达</asp:ListItem>
                    <asp:ListItem>3天内</asp:ListItem>
                </asp:DropDownList></td>
  </tr>
  <tr>
    <td height="25" colspan="2">件数：</td>
    <td colspan="2" style="text-align:left;"> <asp:TextBox ID="txtTotalPackages" runat="server" ForeColor="#404040"></asp:TextBox>
	<asp:RequiredFieldValidator ID="RFValidatorTotalPackages" runat="server" ControlToValidate="txtTotalPackages" ErrorMessage="*">请输入件数	</asp:RequiredFieldValidator>
    <asp:RegularExpressionValidator ID="REValidatorTotalPackages" runat="server" ControlToValidate="txtTotalPackages"
                    ErrorMessage="*" ValidationExpression="^[0-9]*$">请输入件数</asp:RegularExpressionValidator></td>
    <td colspan="2">支付方式：</td>
    <td style="text-align:left;"> <asp:DropDownList ID="ddrPayment" runat="server" ForeColor="#404040">
                    <asp:ListItem>发件人支付</asp:ListItem>
                    <asp:ListItem>收件人支付</asp:ListItem>
                    <asp:ListItem>预支付</asp:ListItem>
                </asp:DropDownList></td>
  </tr>
  <tr>
    <td height="25" colspan="2">预计重量：</td>
    <td colspan="2" style="text-align:left;"><asp:TextBox ID="txtDIM" runat="server" ForeColor="#404040" Width="90px"></asp:TextBox>
	<asp:RequiredFieldValidator ID="RFValidatorDIM" runat="server" ControlToValidate="txtDIM" ErrorMessage="*">请输入预计重量	</asp:RequiredFieldValidator>
    <asp:RegularExpressionValidator ID="REValidatorDIM" runat="server" ControlToValidate="txtDIM"
                    ErrorMessage="*" ValidationExpression="^[0-9]*$">请输入预计重量</asp:RegularExpressionValidator></td>
    <td colspan="2">注意事项：</td>
    <td style="text-align:left;"> <asp:TextBox ID="txtAttentions" runat="server" TextMode="MultiLine" ForeColor="#404040"></asp:TextBox></td>
  </tr>
  <tr>
    <td height="25" colspan="2">预计体积：</td>
    <td colspan="2" style="text-align:left;"><asp:TextBox ID="txtWeight" runat="server" ForeColor="#404040" Width="90px"></asp:TextBox>
	    <asp:RequiredFieldValidator ID="RFValidatorWeight" runat="server" ControlToValidate="txtWeight" ErrorMessage="*">请输入预计体积		</asp:RequiredFieldValidator>
        <asp:RegularExpressionValidator ID="REValidatorWeight" runat="server" ControlToValidate="txtWeight"
                    ErrorMessage="*" ValidationExpression="^[0-9]*$">请输入预计重量</asp:RegularExpressionValidator></td>
    <td colspan="2">货物类型：</td>
    <td style="text-align:left;"><asp:TextBox ID="txtCargoType" runat="server" ForeColor="#404040"></asp:TextBox>
	<asp:RequiredFieldValidator ID="RFValidatorCargoType" runat="server" ControlToValidate="txtCargoType"  ErrorMessage="*">请输入货物类型	</asp:RequiredFieldValidator></td>
  </tr>
  <tr>
    <td height="25" colspan="2">备注：</td>
    <td colspan="5" style="text-align:left;"> <asp:TextBox ID="txtNode" runat="server" TextMode="MultiLine" ForeColor="#404040"></asp:TextBox></td>
  </tr>
  <tr>
    <td height="25" colspan="7"><asp:Button ID="btnModify" runat="server" Text="提交" OnClick="btnModify_Click" ForeColor="#404040" />          <asp:Button ID="btnReset" runat="server" Text="重置" OnClick="btnReset_Click" ForeColor="#404040"/>          <asp:Button ID="btnReturn" runat="server" Text="返回" OnClick="btnReturn_Click" ForeColor="#404040"/></td>
  </tr>
</table>
    </div>
</asp:Content>
